import request from "@/utils/request";

//查询视频教程
export function getVideoTutorial(data) {
  return request({
    url: "/videoTutorial/getVideoTutorial",
    method: "get",
    params: {fileType:0},
  });
}
export function getDocTutorial(data) {
  return request({
    url: "/videoTutorial/getVideoTutorial",
    method: "get",
    params: {fileType:1},
  });
}

//删除视频教程
export function delVideoTutorial(params) {
  return request({
    url: "/videoTutorial/delVideoTutorial",
    method: "post",
    params,
  });
}
